// 10个精美模板 - 专为学校推文设计

export const templates = [
  {
    id: 1,
    name: '学校新闻-庄重蓝',
    category: 'news',
    description: '适合学校新闻、活动报道',
    previewColor: '#e6f7ff',
    styles: {
      global: {
        fontFamily: '-apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei"',
        fontSize: 16,
        color: '#333333',
        backgroundColor: '#ffffff',
        lineHeight: 1.8,
        padding: '20px 16px',
        maxWidth: '750px',
        margin: '0 auto'
      },
      label: {
        display: 'inline-block',
        background: 'linear-gradient(135deg, #1890ff 0%, #096dd9 100%)',
        color: '#ffffff',
        padding: '4px 12px',
        borderRadius: '4px',
        fontSize: '14px',
        fontWeight: 'bold',
        marginBottom: '12px'
      },
      mainTitle: {
        fontSize: '26px',
        fontWeight: 'bold',
        color: '#1a1a1a',
        textAlign: 'center',
        lineHeight: '1.4',
        marginTop: '16px',
        marginBottom: '16px',
        padding: '16px 0',
        position: 'relative'
      },
      subTitle: {
        fontSize: '16px',
        color: '#595959',
        textAlign: 'center',
        lineHeight: '1.6',
        marginBottom: '24px',
        fontWeight: 'normal'
      },
      intro: {
        fontSize: '15px',
        color: '#8c8c8c',
        textAlign: 'center',
        fontStyle: 'italic',
        lineHeight: '1.8',
        marginBottom: '30px',
        padding: '15px 20px',
        borderTop: '1px dashed #d9d9d9',
        borderBottom: '1px dashed #d9d9d9',
        background: '#fafafa'
      },
      timePlace: {
        fontSize: '14px',
        color: '#8c8c8c',
        textAlign: 'center',
        marginBottom: '24px',
        fontStyle: 'italic'
      },
      sectionTitle: {
        fontSize: '18px',
        fontWeight: 'bold',
        color: '#1890ff',
        marginTop: '32px',
        marginBottom: '16px',
        paddingLeft: '15px',
        borderLeft: '4px solid #1890ff',
        lineHeight: '1.4'
      },
      paragraph: {
        fontSize: '16px',
        lineHeight: '1.8',
        color: '#333333',
        textIndent: '2em',
        marginBottom: '16px',
        textAlign: 'justify'
      },
      image: {
        maxWidth: '100%',
        borderRadius: '8px',
        boxShadow: '0 4px 12px rgba(0,0,0,0.08)',
        margin: '24px 0',
        display: 'block'
      },
      coverImage: {
        maxWidth: '100%',
        borderRadius: '8px',
        boxShadow: '0 4px 16px rgba(0,0,0,0.1)',
        marginBottom: '24px'
      }
    }
  },
  
  {
    id: 2,
    name: '学校新闻-简约白',
    category: 'news',
    description: '简约风格，适合日常新闻',
    previewColor: '#ffffff',
    styles: {
      global: {
        fontFamily: '-apple-system, BlinkMacSystemFont, "PingFang SC"',
        fontSize: 16,
        color: '#333333',
        backgroundColor: '#ffffff',
        lineHeight: 1.75,
        padding: '24px 16px'
      },
      label: {
        display: 'inline-block',
        background: '#f0f0f0',
        color: '#595959',
        padding: '4px 12px',
        borderRadius: '4px',
        fontSize: '13px',
        fontWeight: '500',
        marginBottom: '12px'
      },
      mainTitle: {
        fontSize: '24px',
        fontWeight: '600',
        color: '#1a1a1a',
        textAlign: 'center',
        lineHeight: '1.5',
        marginBottom: '12px',
        padding: '12px 0'
      },
      subTitle: {
        fontSize: '15px',
        color: '#8c8c8c',
        textAlign: 'center',
        lineHeight: '1.6',
        marginBottom: '32px'
      },
      intro: {
        fontSize: '15px',
        color: '#595959',
        textAlign: 'center',
        lineHeight: '1.8',
        marginBottom: '32px',
        padding: '12px 0',
        borderBottom: '1px solid #f0f0f0'
      },
      sectionTitle: {
        fontSize: '18px',
        fontWeight: '600',
        color: '#262626',
        marginTop: '32px',
        marginBottom: '16px',
        lineHeight: '1.4'
      },
      paragraph: {
        fontSize: '16px',
        lineHeight: '1.75',
        color: '#333333',
        textIndent: '2em',
        marginBottom: '16px',
        textAlign: 'justify'
      },
      image: {
        maxWidth: '100%',
        borderRadius: '4px',
        margin: '20px 0',
        display: 'block'
      }
    }
  },

  {
    id: 3,
    name: '活动报道-活力橙',
    category: 'activity',
    description: '适合活动宣传、现场报道',
    previewColor: '#fff7e6',
    styles: {
      global: {
        fontFamily: '-apple-system, BlinkMacSystemFont, "PingFang SC"',
        fontSize: 16,
        color: '#333333',
        backgroundColor: '#fffbf0',
        lineHeight: 1.8,
        padding: '20px 16px'
      },
      label: {
        display: 'inline-block',
        background: 'linear-gradient(135deg, #fa8c16 0%, #fa541c 100%)',
        color: '#ffffff',
        padding: '4px 14px',
        borderRadius: '12px',
        fontSize: '14px',
        fontWeight: 'bold',
        marginBottom: '12px'
      },
      mainTitle: {
        fontSize: '26px',
        fontWeight: 'bold',
        color: '#fa541c',
        textAlign: 'center',
        lineHeight: '1.4',
        marginBottom: '16px',
        textShadow: '1px 1px 0 rgba(250, 84, 28, 0.1)'
      },
      subTitle: {
        fontSize: '16px',
        color: '#8c8c8c',
        textAlign: 'center',
        lineHeight: '1.6',
        marginBottom: '24px'
      },
      intro: {
        fontSize: '15px',
        color: '#fa8c16',
        textAlign: 'center',
        fontWeight: '500',
        lineHeight: '1.8',
        marginBottom: '30px',
        padding: '16px 20px',
        background: 'linear-gradient(to right, transparent, #fff7e6, transparent)',
        borderRadius: '8px'
      },
      sectionTitle: {
        fontSize: '18px',
        fontWeight: 'bold',
        color: '#fa541c',
        marginTop: '32px',
        marginBottom: '16px',
        textAlign: 'center',
        padding: '8px 20px',
        background: 'linear-gradient(to right, #fff7e6, #ffe7ba, #fff7e6)',
        borderRadius: '20px'
      },
      paragraph: {
        fontSize: '16px',
        lineHeight: '1.8',
        color: '#333333',
        textIndent: '2em',
        marginBottom: '16px',
        textAlign: 'justify'
      },
      image: {
        maxWidth: '100%',
        borderRadius: '12px',
        boxShadow: '0 6px 16px rgba(250, 140, 22, 0.15)',
        margin: '24px 0',
        display: 'block'
      }
    }
  },

  {
    id: 4,
    name: '活动报道-青春绿',
    category: 'activity',
    description: '清新活力，适合青春主题活动',
    previewColor: '#f6ffed',
    styles: {
      global: {
        fontFamily: '-apple-system, BlinkMacSystemFont, "PingFang SC"',
        fontSize: 16,
        color: '#333333',
        backgroundColor: '#fcffe6',
        lineHeight: 1.8,
        padding: '20px 16px'
      },
      label: {
        display: 'inline-block',
        background: 'linear-gradient(135deg, #52c41a 0%, #389e0d 100%)',
        color: '#ffffff',
        padding: '4px 12px',
        borderRadius: '4px',
        fontSize: '14px',
        fontWeight: 'bold',
        marginBottom: '12px'
      },
      mainTitle: {
        fontSize: '26px',
        fontWeight: 'bold',
        color: '#389e0d',
        textAlign: 'center',
        lineHeight: '1.4',
        marginBottom: '16px'
      },
      subTitle: {
        fontSize: '16px',
        color: '#595959',
        textAlign: 'center',
        marginBottom: '24px'
      },
      sectionTitle: {
        fontSize: '18px',
        fontWeight: 'bold',
        color: '#52c41a',
        marginTop: '32px',
        marginBottom: '16px',
        paddingLeft: '15px',
        borderLeft: '4px solid #52c41a'
      },
      paragraph: {
        fontSize: '16px',
        lineHeight: '1.8',
        color: '#333333',
        textIndent: '2em',
        marginBottom: '16px',
        textAlign: 'justify'
      },
      image: {
        maxWidth: '100%',
        borderRadius: '8px',
        boxShadow: '0 4px 12px rgba(82, 196, 26, 0.12)',
        margin: '24px 0'
      }
    }
  },

  {
    id: 5,
    name: '获奖喜报-喜庆红',
    category: 'award',
    description: '适合获奖喜报、荣誉表彰',
    previewColor: '#fff1f0',
    styles: {
      global: {
        fontFamily: '-apple-system, BlinkMacSystemFont, "PingFang SC"',
        fontSize: 16,
        color: '#333333',
        backgroundColor: '#fff1f0',
        lineHeight: 1.8,
        padding: '24px 16px',
        backgroundImage: 'radial-gradient(circle at 20px 20px, #ffccc7 1px, transparent 1px)',
        backgroundSize: '40px 40px'
      },
      label: {
        display: 'inline-block',
        background: 'linear-gradient(135deg, #f5222d 0%, #cf1322 100%)',
        color: '#ffffff',
        padding: '6px 16px',
        borderRadius: '20px',
        fontSize: '14px',
        fontWeight: 'bold',
        marginBottom: '16px',
        boxShadow: '0 4px 12px rgba(245, 34, 45, 0.3)'
      },
      mainTitle: {
        fontSize: '28px',
        fontWeight: 'bold',
        color: '#cf1322',
        textAlign: 'center',
        lineHeight: '1.4',
        marginBottom: '20px',
        padding: '20px 0',
        background: 'linear-gradient(to bottom, transparent, #fff, transparent)',
        textShadow: '2px 2px 4px rgba(207, 19, 34, 0.1)'
      },
      subTitle: {
        fontSize: '17px',
        color: '#8c8c8c',
        textAlign: 'center',
        marginBottom: '28px',
        fontWeight: '500'
      },
      intro: {
        fontSize: '16px',
        color: '#f5222d',
        textAlign: 'center',
        fontWeight: 'bold',
        lineHeight: '1.8',
        marginBottom: '32px',
        padding: '16px 24px',
        background: '#ffffff',
        borderRadius: '12px',
        border: '2px solid #ffccc7'
      },
      sectionTitle: {
        fontSize: '19px',
        fontWeight: 'bold',
        color: '#cf1322',
        marginTop: '36px',
        marginBottom: '18px',
        textAlign: 'center',
        padding: '12px 24px',
        background: 'linear-gradient(135deg, #fff1f0 0%, #ffccc7 100%)',
        borderRadius: '24px',
        border: '2px solid #ffa39e'
      },
      paragraph: {
        fontSize: '16px',
        lineHeight: '1.8',
        color: '#333333',
        textIndent: '2em',
        marginBottom: '16px',
        textAlign: 'justify'
      },
      image: {
        maxWidth: '100%',
        borderRadius: '12px',
        boxShadow: '0 8px 24px rgba(245, 34, 45, 0.15)',
        margin: '28px 0',
        border: '3px solid #ffccc7'
      }
    }
  },

  {
    id: 6,
    name: '获奖喜报-金色荣耀',
    category: 'award',
    description: '金色主题，彰显荣耀',
    previewColor: '#fffbe6',
    styles: {
      global: {
        fontFamily: '-apple-system, BlinkMacSystemFont, "PingFang SC"',
        fontSize: 16,
        color: '#333333',
        backgroundColor: '#fffbf0',
        lineHeight: 1.8,
        padding: '24px 16px'
      },
      label: {
        display: 'inline-block',
        background: 'linear-gradient(135deg, #faad14 0%, #d48806 100%)',
        color: '#ffffff',
        padding: '6px 16px',
        borderRadius: '4px',
        fontSize: '14px',
        fontWeight: 'bold',
        marginBottom: '16px'
      },
      mainTitle: {
        fontSize: '27px',
        fontWeight: 'bold',
        color: '#d48806',
        textAlign: 'center',
        lineHeight: '1.4',
        marginBottom: '18px',
        textShadow: '1px 1px 2px rgba(212, 136, 6, 0.2)'
      },
      subTitle: {
        fontSize: '16px',
        color: '#8c8c8c',
        textAlign: 'center',
        marginBottom: '28px'
      },
      sectionTitle: {
        fontSize: '18px',
        fontWeight: 'bold',
        color: '#d48806',
        marginTop: '32px',
        marginBottom: '16px',
        paddingLeft: '15px',
        borderLeft: '5px solid #faad14'
      },
      paragraph: {
        fontSize: '16px',
        lineHeight: '1.8',
        color: '#333333',
        textIndent: '2em',
        marginBottom: '16px',
        textAlign: 'justify'
      },
      image: {
        maxWidth: '100%',
        borderRadius: '8px',
        boxShadow: '0 6px 20px rgba(250, 173, 20, 0.2)',
        margin: '24px 0',
        border: '2px solid #ffe58f'
      }
    }
  },

  {
    id: 7,
    name: '通知公告-醒目红',
    category: 'notice',
    description: '适合重要通知、紧急公告',
    previewColor: '#fff2e8',
    styles: {
      global: {
        fontFamily: '-apple-system, BlinkMacSystemFont, "PingFang SC"',
        fontSize: 16,
        color: '#333333',
        backgroundColor: '#ffffff',
        lineHeight: 1.75,
        padding: '20px 16px'
      },
      label: {
        display: 'inline-block',
        background: '#ff4d4f',
        color: '#ffffff',
        padding: '6px 14px',
        borderRadius: '4px',
        fontSize: '14px',
        fontWeight: 'bold',
        marginBottom: '16px'
      },
      mainTitle: {
        fontSize: '24px',
        fontWeight: 'bold',
        color: '#1a1a1a',
        textAlign: 'center',
        lineHeight: '1.5',
        marginBottom: '16px',
        padding: '16px 20px',
        background: '#fff2e8',
        border: '2px solid #ff7875',
        borderRadius: '8px'
      },
      subTitle: {
        fontSize: '16px',
        color: '#595959',
        textAlign: 'center',
        marginBottom: '24px'
      },
      sectionTitle: {
        fontSize: '18px',
        fontWeight: 'bold',
        color: '#ff4d4f',
        marginTop: '28px',
        marginBottom: '14px',
        padding: '8px 16px',
        background: '#fff2e8',
        borderRadius: '4px'
      },
      paragraph: {
        fontSize: '16px',
        lineHeight: '1.75',
        color: '#333333',
        textIndent: '2em',
        marginBottom: '14px',
        textAlign: 'justify'
      },
      image: {
        maxWidth: '100%',
        borderRadius: '6px',
        margin: '20px 0'
      }
    }
  },

  {
    id: 8,
    name: '通知公告-正式蓝',
    category: 'notice',
    description: '正式规范，适合重要公告',
    previewColor: '#e6f7ff',
    styles: {
      global: {
        fontFamily: '-apple-system, BlinkMacSystemFont, "PingFang SC"',
        fontSize: 16,
        color: '#333333',
        backgroundColor: '#ffffff',
        lineHeight: 1.75,
        padding: '20px 16px'
      },
      label: {
        display: 'inline-block',
        background: '#1890ff',
        color: '#ffffff',
        padding: '6px 14px',
        borderRadius: '4px',
        fontSize: '13px',
        fontWeight: 'bold',
        marginBottom: '14px'
      },
      mainTitle: {
        fontSize: '24px',
        fontWeight: 'bold',
        color: '#1a1a1a',
        textAlign: 'center',
        lineHeight: '1.5',
        marginBottom: '14px',
        padding: '16px 20px',
        borderTop: '3px solid #1890ff',
        borderBottom: '3px solid #1890ff'
      },
      subTitle: {
        fontSize: '15px',
        color: '#595959',
        textAlign: 'center',
        marginBottom: '24px'
      },
      sectionTitle: {
        fontSize: '17px',
        fontWeight: 'bold',
        color: '#1890ff',
        marginTop: '26px',
        marginBottom: '14px'
      },
      paragraph: {
        fontSize: '16px',
        lineHeight: '1.75',
        color: '#333333',
        textIndent: '2em',
        marginBottom: '14px',
        textAlign: 'justify'
      },
      image: {
        maxWidth: '100%',
        borderRadius: '4px',
        margin: '18px 0'
      }
    }
  },

  {
    id: 9,
    name: '招生宣传-温馨粉',
    category: 'recruitment',
    description: '温馨亲切，适合招生宣传',
    previewColor: '#fff0f6',
    styles: {
      global: {
        fontFamily: '-apple-system, BlinkMacSystemFont, "PingFang SC"',
        fontSize: 16,
        color: '#333333',
        backgroundColor: '#fff0f6',
        lineHeight: 1.8,
        padding: '20px 16px'
      },
      label: {
        display: 'inline-block',
        background: 'linear-gradient(135deg, #eb2f96 0%, #c41d7f 100%)',
        color: '#ffffff',
        padding: '5px 14px',
        borderRadius: '12px',
        fontSize: '14px',
        fontWeight: 'bold',
        marginBottom: '14px'
      },
      mainTitle: {
        fontSize: '26px',
        fontWeight: 'bold',
        color: '#c41d7f',
        textAlign: 'center',
        lineHeight: '1.4',
        marginBottom: '16px'
      },
      subTitle: {
        fontSize: '16px',
        color: '#8c8c8c',
        textAlign: 'center',
        marginBottom: '24px'
      },
      sectionTitle: {
        fontSize: '18px',
        fontWeight: 'bold',
        color: '#eb2f96',
        marginTop: '30px',
        marginBottom: '16px',
        textAlign: 'center',
        padding: '10px 20px',
        background: 'linear-gradient(to right, transparent, #fff0f6, transparent)',
        borderRadius: '20px'
      },
      paragraph: {
        fontSize: '16px',
        lineHeight: '1.8',
        color: '#333333',
        textIndent: '2em',
        marginBottom: '16px',
        textAlign: 'justify'
      },
      image: {
        maxWidth: '100%',
        borderRadius: '12px',
        boxShadow: '0 4px 16px rgba(235, 47, 150, 0.15)',
        margin: '24px 0'
      }
    }
  },

  {
    id: 10,
    name: '招生宣传-专业灰',
    category: 'recruitment',
    description: '专业大气，展现学校实力',
    previewColor: '#fafafa',
    styles: {
      global: {
        fontFamily: '-apple-system, BlinkMacSystemFont, "PingFang SC"',
        fontSize: 16,
        color: '#333333',
        backgroundColor: '#ffffff',
        lineHeight: 1.75,
        padding: '24px 16px'
      },
      label: {
        display: 'inline-block',
        background: '#595959',
        color: '#ffffff',
        padding: '5px 14px',
        borderRadius: '4px',
        fontSize: '13px',
        fontWeight: '500',
        marginBottom: '14px'
      },
      mainTitle: {
        fontSize: '26px',
        fontWeight: '600',
        color: '#262626',
        textAlign: 'center',
        lineHeight: '1.4',
        marginBottom: '16px',
        letterSpacing: '1px'
      },
      subTitle: {
        fontSize: '16px',
        color: '#8c8c8c',
        textAlign: 'center',
        marginBottom: '28px'
      },
      sectionTitle: {
        fontSize: '18px',
        fontWeight: '600',
        color: '#262626',
        marginTop: '32px',
        marginBottom: '16px',
        paddingBottom: '10px',
        borderBottom: '2px solid #f0f0f0'
      },
      paragraph: {
        fontSize: '16px',
        lineHeight: '1.75',
        color: '#333333',
        textIndent: '2em',
        marginBottom: '16px',
        textAlign: 'justify'
      },
      image: {
        maxWidth: '100%',
        borderRadius: '6px',
        boxShadow: '0 2px 8px rgba(0,0,0,0.08)',
        margin: '24px 0'
      }
    }
  }
]

export default templates

